ElasticPress\Command D

Total Complexity 203
Dependencies 8
Dependents 0
Total lines 1,449
Lines of code 782
Logical lines of code 510
Comment lines 384
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
index_helper()
D
27
35 139
index()
D
28
32 129
put_mapping_helper()
B
38 19 68
delete_index()
A
42 13 53
stop_the_insanity()
A
46 12 38
stats()
A
44 9 42
get_indexing_status()
S
50 7 30
list_features()
S
53 7 22
activate_feature()
S
53 6 21
deactivate_feature()
S
55 6 18
status()
S
52 5 22
index_occurring()
S
61 5 12
stop_indexing()
S
58 4 14
get_indexes()
S
61 4 11
custom_get_transient()
S
56 3 20
output_index_errors()
S
56 3 17
recreate_network_alias()
S
58 3 15
create_network_alias_helper()
S
60 3 13
delete_transient()
S
64 3 11
epio_set_autosuggest()
S
65 3 8
connect_check()
S
66 3 8
reset_transient()
S
67 3 7
delete_transient_on_int()
S
69 2 7
get_last_cli_index()
S
68 2 7
maybe_change_host()
S
66 2 10
maybe_change_index_prefix()
S
66 2 10
should_interrupt_sync()
S
67 2 8
put_mapping()
S
66 2 9
clear_index()
S
76 1 4
get_cluster_indexes()
S
71 1 6
__construct()
S
78 1 3